﻿GIcon = function(copy, image) 
{
	/// <summary>Creates a new icon object. If another icon is given in the optional copy argument, its properties are copied, otherwise they are left empty. The optional argument image sets the value of the image  property.</summary>
	/// <param name="copy" type="GIcon" optional="true">(optional) The icon to copy. Note that you can use the default Maps icon G_DEFAULT_ICON if you don't want to specify your own.</param>
	/// <param name="image" type="String" optional="true">(optional) The foreground image URL of the icon.</param>
	/// <field name="image" type="String">The foreground image URL of the icon.</field>
	/// <field name="shadow" type="String">The shadow image URL of the icon.</field>
	/// <field name="iconSize" type="GSize">The pixel size of the foreground image of the icon.</field>
	/// <field name="shadowSize" type="GSize">The pixel size of the shadow image.</field>
	/// <field name="iconAnchor" type="GPoint">The pixel coordinate relative to the top left corner of the icon image at which this icon is anchored to the map.</field>
	/// <field name="infoWindowAnchor" type="GPoint">The pixel coordinate relative to the top left corner of the icon image at which the info window is anchored to this icon.</field>
	/// <field name="printImage" type="String">The URL of the foreground icon image used for printed maps. It must be the same size as the main icon image given by image.</field>
	/// <field name="mozPrintImage" type="String">The URL of the foreground icon image used for printed maps in Firefox/Mozilla. It must be the same size as the main icon image given by image.</field>
	/// <field name="printShadow" type="String">The URL of the shadow image used for printed maps. It should be a GIF image since most browsers cannot print PNG images.</field>
	/// <field name="transparent" type="String">The URL of a virtually transparent version of the foreground icon image used to capture click events in Internet Explorer. This image should be a 24-bit PNG version of the main icon image with 1% opacity, but the same shape and size as the main icon.</field>
	/// <field name="imageMap" type="elementInteger">An array of integers representing the x/y coordinates of the image map we should use to specify the clickable part of the icon image in browsers other than Internet Explorer.</field>
	/// <field name="maxHeight" type="Number" integer="true">An array of integers representing the x/y coordinates of the image map we should use to specify the clickable part of the icon image in browsers other than Internet Explorer.</field>
	/// <field name="dragCrossImage" type="String">Specifies the cross image URL when an icon is dragged. (Since 2.79)</field>
	/// <field name="dragCrossSize" type="GSize">Specifies the pixel size of the cross image when an icon is dragged. (Since 2.79)</field>
	/// <field name="dragCrossAnchor" type="GPoint">Specifies the pixel coordinate offsets (relative to the iconAnchor) of the cross image when an icon is dragged. (Since 2.79)</field>
	/// <returns type="Object"></returns>
}

G_DEFAULT_ICON = {};

GIcon.prototype = 
{
	image: null,
	shadow: null,
	iconSize: null,
	shadowSize: null,
	iconAnchor: null,
	infoWindowAnchor: null,
	printImage: null,
	mozPrintImage: null,
	printShadow: null,
	transparent: null,
	imageMap: null,
	maxHeight: null,
	dragCrossImage: null,
	dragCrossSize: null,
	dragCrossAnchor: null
}